package com.example.s06.config;

import com.example.s06.entity.Customer;
import lombok.AllArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Test {
    @Bean
    public Customer customer(){
        Customer customer=new Customer();
        customer.setUcode("1");
        customer.setUname("海天");
        customer.setUpassword("123456");
        return customer;

    }
}
